Fixed bugs, added commands, 32/64 bit JVM detection. Close #3, #6 and #7